// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import Vue from 'vue'
import App from './downApp.vue'


import 'src/assets/css/reset.css'
import 'vux/src/styles/1px.less';
import 'src/assets/css/md-common.css';
// import 'src/assets/css/common.less'
//注册时，vux必须放在 import Vue from 'vue'; 之前，否侧打包的体积非常大???
import {LoadingPlugin, ToastPlugin, ConfirmPlugin, AlertPlugin} from 'vux';
import Vue from 'vue';
import ImgSrcPlugin from 'src/plugins/img_src_plugin'

import 'src/assets/js/rem';
import 'src/assets/js/youmengStatistics-down-page';

// 关闭生产环境的调试信息
const isDebug_mode = process.env.NODE_ENV !== 'production'
Vue.config.debug = isDebug_mode
Vue.config.devtools = isDebug_mode
Vue.config.productionTip = isDebug_mode



Vue.use(LoadingPlugin);
Vue.use(ToastPlugin);
Vue.use(ConfirmPlugin);
Vue.use(ImgSrcPlugin);
Vue.use(AlertPlugin);




//解决click点击300毫秒延时问题
import FastClick from 'fastclick';

FastClick.attach(document.body);


// import 'src/assets/js/vue-common'; //每个页面都引入
import 'src/assets/js/ajax-util'; //有需要再引入，引入ajax-util的页面要判断window.qqlgclientwebview是否存在

let vm = new Vue({
  el: '#app',
  template: '<App/>',
  components: {App}
});





